package com.jlogtail.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author Arun Manivannan
 * Dummy Spring MVC check
 *
 */
@Controller
public class HelloWorldController {

    @RequestMapping("/helloWorld.html")
    public ModelAndView helloWorld() {
    	System.out.println("Hello from hello world controller....");
        ModelAndView mav = new ModelAndView();
        mav.setViewName("helloWorld");
        mav.addObject("message", "Hello World Arun!");
        return mav;
    }
}
